/**
 * Copyright (c) Enalean, 2018. All Rights Reserved.
 *
 * This file is a part of Tuleap.
 *
 * Tuleap is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * Tuleap is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Tuleap. If not, see <http://www.gnu.org/licenses/>.
 */

@import 'icons';

.document-tree-head-name {
    width: 100%;
}

.document-tree-head-owner,
.document-tree-head-updatedate {
    white-space: nowrap;

    &.document-tree-head-skeleton {
        min-width: 150px;
    }
}

.document-tree-cell-owner,
.document-tree-cell-updatedate {
    color: $tlp-ui-dimmed;
    font-size: 14px;
    white-space: nowrap;
}

.document-folder-title-loading {
    width: 300px;
}

.document-badge-avatar {
    display: flex;
    align-items: center;
}

.document-badge-avatar-img {
    flex: 0 0 auto;
    margin: 0 5px 0 0;
}

.document-badge-avatar-username {
    &:not(:hover) {
        color: $tlp-ui-dimmed;
    }
}

.document-folder-error-link {
    margin: $tlp-spacing 0 0;
    font-size: 20px;
    line-height: 20px;
}

.document-folder-error-details {
    text-align: left;
}

.document-folder-subitem-link {
    &:not(:hover) {
        color: inherit;
    }
}

@media screen and (max-width: 1100px) {
    .document-tree-head-owner,
    .document-tree-head-updatedate,
    .document-tree-cell-owner,
    .document-tree-cell-updatedate {
        display: none;
    }
}
